package com.iqiyi.service.impl;

import com.iqiyi.mapper.SortMapper;
import com.iqiyi.po.Sort;
import com.iqiyi.po.SortExample;
import com.iqiyi.service.SortService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * TODO
 *  分类业务层
 * @author Administrator
 * @date 2021/2/24 11:30
 */
@Service
public class SortServiceImpl implements SortService {

    @Autowired
    private SortMapper sortMapper;

    @Override
    public List<Sort> selectAllSort() {
        SortExample sortExample = new SortExample();

        return sortMapper.selectByExample(sortExample);
    }
}
